package com.yixun.qfbao.response.premises;
/**
 * @author zilong.liu
 * @date 2020-8-7
 */

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class GetPremisesIdAndNameResDto {

	@ApiModelProperty(value = "楼盘ID和对应name的集合")
	private List<PremisesIdAndNameResDto> premisesIdAndNameResDtos;
	
	/**
	 * 添加集合元素
	 * @param premisesIdAndNameResDto
	 */
	public void addPremisesIdAndNameResDto(PremisesIdAndNameResDto premisesIdAndNameResDto) {
		if(this.premisesIdAndNameResDtos == null) {
			premisesIdAndNameResDtos = new ArrayList<>();
		}
		premisesIdAndNameResDtos.add(premisesIdAndNameResDto);
	}
	
}
